Blind and decision directed multi-level channel estimation

ABSTRACT

Data which is read back from a multi-level storage device is received. For each bin in a set of bins, a portion of reads which fall into that particular bin and which are to be maintained is received. The set of bins is adjusted so that the read-back data, after assignment using the adjusted set of bins, matches the received portions of reads which are to be maintained.

CROSS REFERENCE TO OTHER APPLICATIONS

This application is a continuation of co-pending U.S. patent application Ser. No. 13/864,161 (Attorney Docket No. LINKP027C2) entitled BLIND AND DECISION DIRECTED MULTI-LEVEL CHANNEL ESTIMATION filed Apr. 16, 2013, which is a continuation of U.S. patent application Ser. No. 13/456,065, now U.S. Pat. No. 8,443,244 (Attorney Docket No. LINKP027C1) entitled BLIND AND DECISION DIRECTED MULTI-LEVEL CHANNEL ESTIMATION filed Apr. 25, 2012, which is a continuation of U.S. patent application Ser. No. 12/384,894, now U.S. Pat. No. 8,185,787 (Attorney Docket No. LINKP027) entitled BLIND AND DECISION DIRECTED MULTI-LEVEL CHANNEL ESTIMATION filed Apr. 8, 2009, which claims priority to U.S. Provisional Patent Application No. 61/123,555 (Attorney Docket No. LINKP027+) entitled BLIND MULTI-LEVEL CHANNEL ESTIMATION filed Apr. 9, 2008 which are incorporated herein by reference for all purposes.

BACKGROUND OF THE INVENTION

Some storage systems, such as Flash memory, permit one of multiple possible levels (e.g., voltage levels) to be stored in a unit of storage (e.g., a cell in a Flash memory system). This permits multiple bits to be stored per unit of storage. For example, if four possible (voltage) levels can be stored, then each unit has a 2-bit storage capacity. In general, if there are M levels per unit of storage this corresponds to log₂(M) bits/unit of storage. For a variety of reasons, the level read back from storage media may not be the same level as what was originally written. In a Flash memory system, some examples include temperature variation (e.g., depending upon the ambient temperature, the level read back will vary), data retention issues (e.g., over time, leakage from a cell transistor's floating gate causes the stored and read back voltage to decrease), and transmission line effects (e.g., observed as a ramp in the read back voltage that gradually increases from one end of a transistor string (i.e., wordline) to the other end). Regardless of the underlying cause, storage systems attempt to compensate or otherwise adjust for this using channel estimation.

One channel estimation technique involves the usage of reference cells. Reference cells are cells used to stored overhead information (i.e., not user data) and in particular for channel estimation, the reference cells are used to store known values. The values are later read back and then the channel is estimated using the known, stored values and the level that was actually read back. There are two disadvantages associated with performing channel estimation in this manner. First, a maximum number of cells are typically allocated to be reference cells and these reference cells are also used to store code information so that the read back data can be decoded (e.g., using an error correction or error detection code). Channel estimation relies on a sufficiently large number of samples and thus the strength of a code suffers since there are a limited number of reference cells. Another disadvantage is that a reference cell can become damaged or defective (e.g., sometimes referred to as a slow or stuck cell). If this occurs and a statistically insufficient number of stored values are used for channel estimation (e.g., because of the requirements of the code and/or the limited number of reference cells), then channel estimation will suffer. It would be desirable to develop new channel estimation techniques which overcome some or all of these issues.

BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.

FIG. 1 is a block diagram illustrating an embodiment of a multi-level storage device.

FIG. 2 is a diagram illustrating an example of the effect a channel has on levels read back from storage media.

FIG. 3A is a flowchart illustrating an embodiment of a blind channel estimation process.

FIG. 3B is a diagram showing two embodiments of bin ranges.

FIG. 4A is a flowchart illustrating an embodiment of a process for decision directed estimation.

FIG. 4B is a diagram illustrating an embodiment of two example bin ranges related to decision directed channel estimation.

FIG. 5 is a diagram showing an embodiment of a read controller that includes a blind channel estimator and a channel corrector.

FIG. 6 is a diagram showing an embodiment of a read controller that includes a decision directed channel estimator and a channel corrector.

FIG. 7 is a diagram showing an embodiment of a read controller that includes a blind channel estimator and a decision directed channel estimator.

FIG. 8 is a diagram showing an embodiment of a read controller that includes a blind channel estimator, a reference cell based channel estimator, and a decision directed channel estimator.

FIG. 9 is a diagram showing an embodiment of a read controller that includes a decision directed channel estimator and a soft decision decoder.

DETAILED DESCRIPTION

The invention can be implemented in numerous ways, including as a process; an apparatus; a system; a composition of matter; a computer program product embodied on a computer readable storage medium; and/or a processor, such as a processor configured to execute instructions stored on and/or provided by a memory coupled to the processor. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. In general, the order of the steps of disclosed processes may be altered within the scope of the invention. Unless stated otherwise, a component such as a processor or a memory described as being configured to perform a task may be implemented as a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. As used herein, the term ‘processor’ refers to one or more devices, circuits, and/or processing cores configured to process data, such as computer program instructions.

A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.

FIG. 1 is a block diagram illustrating an embodiment of a multi-level storage device. In the example shown, storage device 100 includes controller 104 and storage media 102. In some embodiments described herein, storage media 102 includes Flash storage (e.g., NAND Flash storage). In some embodiments, storage media 102 is some other media besides Flash. The technique described herein apply to any multi-level communications system, including NAND or NOR flash, as well as wireless systems, modem communication, etc.

Controller 104 includes write controller 106 and read controller 108, which send write data and receive read data from storage media 102. In the examples described herein, a unit of storage is capable of storing multiple levels. For example, in the case of NAND Flash storage media, a cell is capable of storing 2, 4, or 8 levels. (These are merely examples and some other storage systems are capable of storing a different number of levels.) In some embodiments, a level is a voltage level.

FIG. 2 is a diagram illustrating an example of the effect a channel has on levels read back from storage media. In the example shown, the levels are voltage levels and there are four possible voltage levels. Distributions 200 a-200 d show distributions (sometimes referred to as histograms) for the four possible voltage levels at ideal or original voltage levels. In one example, the four voltage levels are 1 V, 2 V, 3 V, and 4 V. In some embodiments, some other voltage levels and/or number of levels are stored. When written to a unit of storage (e.g., a cell in NAND flash storage media), the voltages shown in distributions 200 a-200 d are written. One cell may have a slightly different level written even if the desired level is the same. For example, if the ideal or desired written voltage is 1 V, a first cell may actually have 0.9 V written to it whereas a second cell may have 1.1 V actually written to it. This variation amongst cells (or other units of storage) is represented by distributions 200 a-200 d.

During a read back, distributions 202 a-202 d are the values observed. In some cases, the shift from distributions 200 a-200 d to 202 a-202 d occurs over a relatively long period of time, for example if a few years elapse between writing and reading. This change from distributions 200 a-200 d to 202 a-202 d (respectively) is modeled as and referred to as a channel effect. To properly process the read back signal, a read controller (e.g., read controller 108 in FIG. 1) performs channel estimation. What is disclosed herein are a blind channel estimator and decision directed estimator (which can be used separately or together) to perform channel estimation.

FIG. 3A is a flowchart illustrating an embodiment of a blind channel estimation process. In the example shown, blind channel estimation is performed on data read back from multi-level storage, such as (NAND) Flash memory. In some embodiments, a read controller (e.g., read controller 108 in FIG. 1) performs the process shown.

At 300, a set of bins having bin ranges is received. In various embodiments, the bin ranges extend from the center (e.g., mean or median) of a distribution to the center of another distribution (e.g., from the center of distribution 202 a to the center of distribution 202 b). See, for example, the bin ranges shown in diagram 350 in FIG. 3B. In some other embodiments, the bin ranges extend from one threshold (e.g., between distributions 202 a and 202 b) and another threshold (e.g., between distributions 202 b and 202 c). See, for example, the bin ranges shown in diagram 352 in FIG. 3B.

At 301, for each bin in the set, a corresponding portion of read values which fall into that particular bin is received. For example, in 350 in FIG. 3B, the lowest and highest bins will have ⅛^(th) of the read back voltages and the other bins will have ¼^(th) of the read back voltages. In 352, each of the four bins has ¼^(th) of the read back voltages.

At 302, a read value which is read from a multi-level storage device is received. One or more of the bin ranges is/are adjusted such that the received portions of read values remain substantially the same after adjustment and after assignment of the read value to one of the set of bins after adjustment at 304. That is, each bin has a corresponding fraction or portion of the read voltages and these fractions are maintained by adjusting the bin ranges. For example, one or more bin ranges in FIG. 3B are adjusted so that the ¼^(th) (and ⅛^(th)) portions are maintained even after assigning the read value to one of the bins.

In some embodiments, adjustment at 304 includes incrementing or decrementing a previous value (e.g., k*μ, where k is an integer and μ is a step size). In one example, the value of μ is determined by “sweeping” μ and finding the μwhich provides the best bit error-rate. In one example, the optimal value of μdepends on how much the levels have moved between write and read (e.g., if the levels have only moved a small amount, there is no reason to use a large μ which permits the levels to move quickly, alternatively, if the levels have moved a significant amount or vary drastically from one end of a word-line to the other (sometimes referred to as ramp), then a larger μmight be preferred). In some embodiments, it is in the form of a gradient descent in that it uses a noisy value to move parameters which, hopefully, improve the system performance.

It is determined at 306 whether there is more data. For example, if cells in a wordline are being processed, it is determined whether there are remaining cells in the wordline. In some embodiments, cells in a page are read back and processed. If there is additional data, the process proceeds to the next cell at 308. Otherwise, the bin ranges of voltage levels are output at 310. For example, the bin ranges in FIG. 3B are output after multiple iterations.

The techniques described in FIG. 3A and may be implemented in variety of ways, including as a computer program product or as a system. In one example of a system, an interface performs steps 300-302 and 310 and a processor performs the other steps.

One example, to illustrate the process described above in embodiments where the bin ranges correspond to centers, is:

-   -   (1) Set i=0. Initialize bin-centers [c¹ ₀, c² ₀, c^(M) ₀] and         find an (optimal) value of μ. Note that a small value of μ is         more robust to outliers, as averaging over a greater number of         cells is being conducted, however, convergence is slow. The         opposite is true for a large value of μ. In some embodiments, an         (optimal) value of μ is empirically determined and is dependent         upon the characteristics of the storage medium.     -   (2) Increment i by 1     -   (3) Read i^(th) cell to obtain x_(i)     -   (4) Update the M bin-centers as

$c_{i}^{n} = \left\{ \begin{matrix} {{c_{i - 1}^{n} + {\mu \left( {{2n} - 1} \right)}},{{{if}\mspace{14mu} x_{i}} > c_{i - 1}^{n}}} \\ {c_{i - 1}^{n},{{{if}\mspace{14mu} x_{i}} = c_{i - 1}^{n}}} \\ {{c_{i - 1}^{n} - {\mu \left( {{2M} - \left( {{2n} - 1} \right)} \right)}},{{{if}\mspace{14mu} x_{i}} < c_{i - 1}^{n}}} \end{matrix} \right.$

-   -   for n=1 to M (where M is the number of possible voltage levels         stored in a unit of storage)     -   Regarding the index n, it is not that larger levels get larger         steps compared to smaller levels since it depends on where the         read-back value falls as to what step-size is used. For example,         L0 either moves by +1 (if xi>L0) or by −(2M−1) (if xi<L0). In         the steady-state, there should be, for every 1 sample<L0 exactly         (2M−1) levels>xi. So, over a large amount of data, these         movements should have a net zero effect. For 4 levels, L0 has ⅛         of the samples below it and ⅞ of the levels above it. The actual         movements are +⅛ for xi>L0, and −⅞ for xi<L0.     -   (5) If i is less than N, go to step 2 and continue, else stop         and output the set of vectors, [c¹ _(i), c² _(i), . . . , c^(M)         _(i)] for i=0, 1, 2, . . . , N−1.     -   By supplying a set of levels for each time index i, the levels         are able to vary across the word-line, which is useful in         estimating the ramp described above.

Another example, to illustrate the process described above in embodiments where the bin ranges correspond to thresholds, is:

-   -   (1) Set i=0. Initialize threshold values [w¹ ₀, w² ₀, w^(M-1) ₀]         and find a (optimal) value of μ.     -   (2) Increment i by 1     -   (3) Read i^(th) cell to obtain x_(i)     -   (4) Update the (M−1) thresholds as

$w_{i}^{m} = \left\{ \begin{matrix} {{w_{i - 1}^{m} + {\mu \; \frac{m}{M}}},{{{if}\mspace{14mu} x_{i}} > w_{i - 1}^{m}}} \\ {w_{i - 1}^{m},{{{if}\mspace{14mu} x_{i}} = w_{i - 1}^{m}}} \\ {{w_{i - 1}^{m} - {\mu \; \frac{M - m}{M}}},{{{if}\mspace{14mu} x_{i}} < w_{i - 1}^{m}}} \end{matrix} \right.$

-   -   for m=1 to (M−1)     -   For the 4-level example, ¼ of the samples are <L0 (which is now         a threshold and not a level) and ¾ of the samples are >L0.     -   (5) If i is less than N, go to step 2 and continue, else stop         and output the set of vectors [w¹ _(i), w² _(i), w^(M-1) _(i)],         for i=0, 1, 2, . . . , N−1.

Although the process shown in this figure and some other figures are represented as iterative processes, the scope of the technique includes non-iterative processes as well. For example, all data may be input at the beginning of such a non-iterative process, the bin ranges are adjusted so that each range has an appropriate number of read-back values falling within that range, and the bin ranges are output.

For the blind channel estimation technique described herein, it is assumed the number of samples, data points, and/or iterations used is sufficiently large enough from a statistical point of view. In some embodiments, a check is performed at the start of the process described above to ensure the value of N (e.g., where i is 0, . . . , N−1) is sufficiently large enough. An appropriate or sufficient value of N will depend upon the number of possible (voltage) levels that can be stored in a unit of storage (e.g., 16 possible voltage levels will require more samples or data than a system that stores 4 possible voltage levels). In general, the number of (voltage) levels able to be stored by a unit of storage is called M (e.g., M=2, 4, 8, etc. for various systems).

Also, this blind channel estimation technique relies upon a relatively even distribution of read-back values amongst the M possible read-back voltage levels. For example, the technique may not necessarily perform optimally if all of the read-back values are one of the possible M voltage levels. In some embodiments, there is some pre-processing to ensure a relatively equal or even distribution of read-back voltage values. In one example, a scrambler (e.g., in a write controller prior to writing or in a read controller after reading back a stored value) is used to ensure data values are sufficiently distributed amongst the possible M levels. In another example, a checker or counter is used to forward read back values for processing if it is not one for which too many values have already been received, otherwise it is discarded.

FIG. 3B is a diagram showing two embodiments of bin ranges. In the example shown, diagram 350 shows bin ranges corresponding to centers or peaks. There are four possible voltage levels that are able to be stored and the bin ranges are adjusted as needed so that the outermost bins each have ⅛ of the read-back voltages levels and the other three bins each have ¼ of the read-back voltages as they are read back and assigned to bins. Diagram 352 shows bin ranges corresponding to thresholds or borders. There are four possible voltage levels that are able to be stored and the bin ranges are adjusted as needed so that each bin has ¼ of the read-back voltages levels as they are read back and assigned to the bins.

FIG. 4A is a flowchart illustrating an embodiment of a process for decision directed estimation. In some embodiments, decision directed estimation is performed in combination with blind channel estimation (e.g., blind channel estimation is performed first in a first pass and then decision directed estimation is performed in a second pass using the same cells). In some embodiments, decision directed estimation is performed alone or in combination with some other technique (e.g., default or ideal bin ranges, obtain bin ranges using reference cells, etc.)

At 400, a set of decision criteria is received, where based upon an input value and the set of decision criteria, a decision is made. FIG. 4B is a diagram illustrating an embodiment of two example bin ranges related to decision directed channel estimation. In diagram 450 of FIG. 4B it is decided which bin range a read back value is closest to. In diagram 480 of FIG. 4B it is decided which bin a read back value falls within. In the examples shown in FIG. 4B, the decision criteria comprises a set of bins having bin ranges.

A read value is received which is read from a multi-level storage device at 402. At 404, a decision is made using the read value and set of decision criteria. For example, in diagram 450 of FIG. 4B, a decision is made that read back voltage 452 is closest to line 454. In diagram 480 of FIG. 4B, a decision is made that read back voltage 482 falls within the bin ranges of 484.

At 406, one or more of the decision criteria in the set that correspond to the decision is/are adjusted based at least in part on the read value. For example, in diagram 450 in FIG. 4B, read back voltage 452 is to the right of pre-adjustment line 454 so it is shifted to the right to become post-adjustment line 456. In diagram 480 in FIG. 4B, pre-adjustment ranges 484 are moved to the right to become post-adjustment ranges 486 so that read back voltage 482 is more “centered.” In some embodiments, an adjustment includes incrementing or decrementing a previous value.

It is determined at 408 whether there is more data. If so, the process proceeds to a next cell at 410. Otherwise, the set of decision criteria is output at 412. For example, after multiple iterations of adjustment, the decision criteria shown in diagram 450 or 480 in FIG. 4B is output.

The techniques described in FIG. 4A may be implemented in variety of ways, including as a computer program product or as a system. In one example of a system, an interface performs steps 400, 402, and 412 and a processor performs the other steps.

To illustrate the technique, in one example below, blind channel estimation is performed in a first pass of the cells, decision directed estimation is performed in a second pass of the cells, and the bin ranges correspond to centers:

-   -   (1) Set i=N+1. Let initial bin-centers at the end of 1^(st) pass         be [c¹ _(i), c² _(i), . . . , c^(M) _(i)] and find a (optimal)         value of μ.     -   (2) Make a bin decision on the i^(th) cell using [c¹ _(i), c²         _(i), . . . , c^(M) _(i)] to obtain z_(i). Bin decisions are         made as:

z _(i) =n if |x _(i) −c ^(n) _(i) |≦|x _(i) −c _(i) ^(m) |∀m≠n

-   -   (3) Decrement i by 1. In this example (as opposed to the         flowchart of FIG. 4A), i decreases with each iteration.     -   (4) Update the M bin-centers as

$c_{i}^{n} = \left\{ \begin{matrix} {{c_{i + 1}^{n} + {\mu \left( {z_{i} - c_{i + 1}^{n}} \right)}},{{{if}\mspace{14mu} z_{i}} = n}} \\ {c_{i + 1}^{n},{{{if}\mspace{14mu} z_{i}} \neq n}} \end{matrix} \right.$

-   -   for n=1 to M     -   (5) If i is greater than 0, go to step 2 and continue, else stop         and output the set of vectors [c¹ _(i), c² _(i), c^(M) _(i)],         i=0, 1, 2, . . . , N−1.

In some embodiments, decision directed estimation is used in combination with a decoder that makes soft decisions (e.g., a low-density parity-check (LDPC) code or system is used) and such systems or codes require log-likelihood ratios (LLR's) as input to the (e.g., LDPC) decoder. To illustrate, a hard decision decoder (in the binary case) would output a 0 or 1 whereas a soft decision decoder would output a likelihood, for example 0.1 if the decoder is very certain the decision is a 0, a 0.5 if the decoder is equally unsure, or a 0.9 if the decoder was very certain the decision is a 1. In some embodiments, other soft decision codes besides LDPC codes are used. In some embodiments, the variance of the histogram associated with each bin (or level) is estimated or otherwise generated in order to provide these LLR values to a decoder. In one example:

-   -   (1) Set i=N+1. Let initial bin-centers at the end of 1^(st) pass         be [c¹ _(i), c² _(i), . . . , c^(M) _(i)] and find a (optimal)         value of μ.     -   (2) Initialize {circumflex over (σ)}_(i) ^(2,n)=0, ∀n     -   (3) Make a bin decision on the i^(th) cell using [c¹ _(i), c²         _(i), . . . , c^(M) _(i)] to obtain z_(i). Bin decisions are         made as:

z _(i) =n if |x _(i) −c ^(n) _(i) |≦|x _(i) −c _(i) ^(m) |∀m≠n

-   -   (4) Decrement i by 1.     -   (5) Update the M bin-centers as

$c_{i}^{n} = \left\{ \begin{matrix} {{c_{i + 1}^{n} + {\mu \left( {z_{i} - c_{i + 1}^{n}} \right)}},{{{if}\mspace{14mu} z_{i}} = n}} \\ {c_{i + 1}^{n},{{{if}\mspace{14mu} z_{i}} \neq n}} \end{matrix} \right.$

-   -   for n=1 to M     -   (6) Update the M bin-variances as

${\hat{\sigma}}_{i}^{2,n} = \left\{ \begin{matrix} {{{\hat{\sigma}}_{i + 1}^{2,n} + \left( {x_{i} - c_{i}^{n}} \right)^{2}},{{{if}\mspace{14mu} z_{i}} = n}} \\ {{\hat{\sigma}}_{i + 1}^{2,n},{{{if}\mspace{14mu} z_{i}} \neq n}} \end{matrix} \right.$

-   -   for n=1 to M     -   (7) If i is greater than 0, go to step 3 and continue, else go         to step 8.     -   (8) Normalize the bin-variance estimates as

${\sigma_{i}^{2,n} = \frac{{\hat{\sigma}}_{i}^{2,n}}{N}},$

∀n and output variances

In some embodiments, variances and centers are passed to a soft-decision decoder (e.g., a LDPC decoder) as LLRs and means, respectively. Variances and centers (i.e. means) of these distributions are utilized to construct LLRs. LLRs are one specific example. In some embodiments, the means and variances of these distributions are used to construct probabilities (i.e., the probability that each of the bits written to a given cell were written as 0's or written as l's). LLRs are just a way to represent those probabilities, but need not be the form passed to the soft-decision decoder.

As described above, blind decision estimation and decision directed estimation can be performed alone, alone in combination with other techniques, or together. The following show some example combinations.

FIG. 5 is a diagram showing an embodiment of a read controller that includes a blind channel estimator and a channel corrector. In the example shown, storage media 102 from FIG. 1 includes (NAND) Flash media. Read data is passed from Flash media 102 to blind channel estimator 500 and to channel corrector 502. Blind channel estimator 500 performs blind channel estimation, for example using the process described in FIG. 3A. Bin ranges are passed from blind channel estimator 500 to channel corrector 502.

Using the bin ranges, the read data received from Flash media 102 is channel corrected by channel corrector 502. For example, over time Flash media can degrade and a read back value can be lower than expected or lower than levels stored when the device was new. In such cases where the levels decay or drop, channel corrector 502 increases the read back data to higher levels and the amount of the increase is specified by or otherwise controlled by the bin ranges output by blind channel estimator 500. In one example, originally a Flash cell stores the levels [1V 2V 3V 4V] and blind channel estimator 500 outputs [0.2V 1.2V 2.8V 4V]. In that example, the first level dropped (nominally) by 0.8V, the second level by 0.8V, the third level by 0.2V, and the fourth level by 0V (i.e., no performance degradation). In some embodiments, a read back value of 1.1V would be channel corrected to be 2V.

In various embodiments, the bin ranges output by blind channel estimator 500 correspond to a variety of cells. In some embodiments, a bin range is output for each cell or unit of storage. This may be undesirable in some applications, for example where the number of levels (M) is relatively small and/or it is undesirable to store a large amount of overhead information. In some embodiments, a bin range (sometimes referred to as a bin range vector) is output for cells in a page, for cells in a wordline, etc. This may be acceptable where cells in the same page or wordline degrade in a similar manner.

FIG. 6 is a diagram showing an embodiment of a read controller that includes a decision directed channel estimator and a channel corrector. As in the previous example, storage media 102 includes (NAND) Flash media and channel corrector 502 operates in the same manner as described in FIG. 5.

Decision directed channel estimator 600 performs decision directed channel estimation, for example using the process described in FIG. 4A. Decision criteria are passed from decision directed channel estimator 600 to channel corrector 502. In some embodiments, decision criteria includes bins having bin ranges.

In some embodiments, the decision criteria correspond to centers (e.g., diagram 450 in FIG. 4B) and channel corrector 502 selects the decision criteria closest to the read back value. In some embodiments, the decision criteria corresponds to thresholds (see e.g., diagram 480 in FIG. 4B) and channel corrector 502 determines which bin a read back value fall in.

As described in the previous example, decision criteria can be output for any number or group of cells or storage units.

FIG. 7 is a diagram showing an embodiment of a read controller that includes a blind channel estimator and a decision directed channel estimator. As in the previous examples, storage media 102 includes (NAND) Flash media and channel corrector 502 operates in the same manner as described in FIG. 5.

In the example shown, blind channel estimation is used in a first pass. For example, read data from all cells in a page are passed to and processed by blind channel estimator 500. In this example, the same read data is passed to decision directed channel estimator and is processed in a second pass. The bin ranges passed from blind channel estimation as used as initial decision criteria by decision directed channel estimator 600. Decision directed channel estimator adjusts the decision criteria as needed and passes it to channel corrector 502.

FIG. 8 is a diagram showing an embodiment of a read controller that includes a blind channel estimator, a reference cell based channel estimator, and a decision directed channel estimator. In the example shown, two types of information are passed from Flash media 102 to read controller 108. Read back data is data or values obtained from non-reference cells (e.g., cells used to store user or application data). Reference cell data is data or values obtained from reference cells (e.g., cells used to store overhead information). In the example shown, reference cell based channel estimator 800 performs channel estimation using reference cell data and blind channel estimator 500 and decision directed channel estimator 600 perform channel estimation using read back data.

Blind channel estimator 500 passes bin ranges to reference cell based channel estimator 800 which in turn passes bin ranges to decision directed channel estimation. Reference cell based channel estimator updates and/or modifies the received bin ranges as appropriate based on the reference cell data. The bin ranges output by blind channel estimator 500 and reference cell based channel estimator 800 do not necessarily have the same bin range values.

In some embodiments, blind channel estimator 500 and reference cell based channel estimator 800 adjust one or more of the bin ranges by incrementing or decrementing a previous bin range by k*μ where μ is a constant and k is a scaling factor (integer or otherwise). In some embodiments, since the values or levels written to reference cells are known (whereas it is not known what values or levels read back data “actually” are), a larger constant (e.g., μ_(larger)) is used to increment/decrement a previous bin value during reference cell based estimation and a smaller constant (e.g., μ_(smaller)) is used during blind channel estimation.

Decision directed channel estimator 600 outputs decision criteria and passes it to channel corrector 502. Channel corrector 502 outputs channel corrected read back data.

FIG. 9 is a diagram showing an embodiment of a read controller that includes a decision directed channel estimator and a soft decision decoder. In the example shown, data written to and read back from Flash media 102 is encoded and soft decision decoder 900 decodes the encoded data. A variety of codes can be used, such as error detection or error correction codes. As storage density increases and geometries decrease, read back data will have increasingly more noise or errors and coding will tend to become more attractive. In some embodiments, soft decision decoder 900 is an LDPC decoder. Any soft decision decoder can be used.

In the example shown, decision directed channel estimator 902 outputs both decision criteria and variance. Returning to the example of FIG. 2, decision directed channel estimator 902 outputs for that example a decision criteria (sometimes referred to as a center, mean, or expected value) and variance for each of 202 a-202 d. In one example in vector form it is [center_(202a) center_(202b) center_(202c) center_(202d)] and [σ² _(202a) σ² _(202b) σ² _(202c) σ² _(202c) σ² _(202d)]. In some embodiments, estimation of the means and variance is done on a cell-by-cell basis and thus there is a mean and variance vectors for each cell.

Although not shown in this figure, a decision directed channel estimator that outputs decision criteria and variance can be used with a variety of other modules, such as other channel estimators, channel correctors, etc. For example, in some embodiments, a blind channel estimator is used in combination with the system shown in FIG. 9.

Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive. 

What is claimed is:
 1. A system, comprising: a multi-level storage device; and a blind channel estimator configured to: receive data which is read back from the multi-level storage device; for each bin in a set of bins, receive a portion of reads which fall into that particular bin and which are to be maintained; and adjust the set of bins so that the read-back data, after assignment using the adjusted set of bins, matches the received portions of reads which are to be maintained.
 2. The system of claim 1, wherein the multi-level storage device includes Flash storage.
 3. The system of claim 1, wherein the multi-level storage device includes NAND Flash storage.
 4. The system of claim 1 further comprising a channel corrector which is configured to use the adjusted set of bins to perform channel correction on the read-back data.
 5. The system of claim 1 further comprising a decision directed channel estimator which is configured to: receive the read-back data from the multi-level storage device; receive the adjusted set of bins from the blind channel estimator, wherein a set of decision criteria includes the adjusted set of bins; make a decision on the read-back data using the set of decision criteria, wherein the decision falls into one of the decision criteria from the set of decision criteria; and adjust the decision criterion which the decision falls into so that after adjustment the decision criterion is more centered about the read-back data compared to before adjustment in order to produce a set of adjusted decision criteria.
 6. The system of claim 5 further comprising a channel corrector which is configured to use the adjusted set of decision criteria to perform channel correction on the read-back data.
 7. The system of claim 1 further comprising a reference cell based channel estimator which is configured to: receive reference cell data from the multi-level storage device, wherein the reference cell data includes known data; receive the adjusted set of bins from the blind channel estimator; and further adjust the adjusted set of bins using the known data.
 8. The system of claim 7 further comprising a decision directed channel estimator which is configured to: receive the read-back data from the multi-level storage device; receive the further adjusted set of bins from the reference cell based channel estimator, wherein a set of decision criteria includes the adjusted set of bins; make a decision on the read-back data using the set of decision criteria, wherein the decision falls into one of the decision criteria from the set of decision criteria; and adjust the decision criterion which the decision falls into so that after adjustment the decision criterion is more centered about the read-back data compared to before adjustment in order to produce a set of adjusted decision criteria.
 9. The system of claim 8 further comprising a channel corrector which is configured to use the adjusted set of decision criteria to perform channel correction on the read-back data.
 10. A method, comprising: receiving data which is read back from a multi-level storage device; for each bin in a set of bins, receiving a portion of reads which fall into that particular bin and which are to be maintained; and using a processor to adjust the set of bins so that the read-back data, after assignment using the adjusted set of bins, matches the received portions of reads which are to be maintained.
 11. The method of claim 10 further comprising using the processor to perform channel correction on the read-back data using the adjusted set of bins.
 12. The method of claim 10 further comprising using the processor to perform decision directed channel estimation, including by: receiving the read-back data from the multi-level storage device; receiving the adjusted set of bins from a blind channel estimator, wherein a set of decision criteria includes the adjusted set of bins; making a decision on the read-back data using the set of decision criteria, wherein the decision falls into one of the decision criteria from the set of decision criteria; and adjusting the decision criterion which the decision falls into so that after adjustment the decision criterion is more centered about the read-back data compared to before adjustment in order to produce a set of adjusted decision criteria.
 13. The method of claim 12 further comprising using the processor to perform channel correction on the read-back data using the adjusted set of decision criteria.
 14. The method of claim 10 further comprising using the processor to perform reference cell based channel estimation, including by: receiving reference cell data from the multi-level storage device, wherein the reference cell data includes known data; receiving the adjusted set of bins from a blind channel estimator; and further adjusting the adjusted set of bins using the known data.
 15. The method of claim 14 further comprising using the processor to perform decision directed channel estimation, including by: receiving the read-back data from the multi-level storage device; receiving the further adjusted set of bins from the reference cell based channel estimation, wherein a set of decision criteria includes the adjusted set of bins; making a decision on the read-back data using the set of decision criteria, wherein the decision falls into one of the decision criteria from the set of decision criteria; and adjusting the decision criterion which the decision falls into so that after adjustment the decision criterion is more centered about the read-back data compared to before adjustment in order to produce a set of adjusted decision criteria.
 16. The method of claim 15 further comprising using the processor to perform channel correction on the read-back data using the adjusted set of decision criteria.
 17. A system, comprising: a multi-level storage device; and a decision directed channel estimator configured to: receive data which is read back from the multi-level storage device; make a decision on the read-back data using a set of decision criteria, wherein the decision falls into one of the decision criteria from the set of decision criteria; and adjust the decision criterion which the decision falls into so that after adjustment the decision criterion is more centered about the read-back data compared to before adjustment in order to produce a set of adjusted decision criteria.
 18. The system of claim 17, wherein the multi-level storage device includes Flash storage.
 19. The system of claim 17, wherein the multi-level storage device includes NAND Flash storage.
 20. The system of claim 17 further comprising a channel corrector which is configured to use the adjusted set of decision criteria to perform channel correction on the read-back data.
 21. A method, comprising: receiving data which is read back from a multi-level storage device; using a processor to make a decision on the read-back data using a set of decision criteria, wherein the decision falls into one of the decision criteria from the set of decision criteria; and using the processor to adjust the decision criterion which the decision falls into such that after adjustment the decision criterion is more centered about the read-back data compared to before adjustment. 